home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
DJLSR106.ARJ
/
CRT0.S
< prev
next >
Wrap
Text File
|
1992-03-28
|
380b
|
35 lines
/*
** Called as start(argc, argv, envp)
*/
.text
.globl start
start:
movl %esp,%ebx
movl 8(%ebx),%eax
pushl %eax
movl %eax,_environ
pushl 4(%ebx)
pushl (%ebx)
call ___main
call _main
addl $12,%esp
pushl %eax
call _exit
exit_again:
movl $0x4c00,%eax
int $0x21
jmp exit_again
ret
.data
.globl _environ
_environ:
.long 0